package com.ifast.oupei.domain;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;



/**
 * 
 * <pre>
 * 比赛信息表
 * </pre>
 * <small> 2018-04-23 12:22:35 | Aron</small>
 */
 @TableName("op_match")
public class MatchDO implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /**  */
    @TableId
    private Integer id;
    /** 球探比赛id */
    private Integer ticketsId;
    /** 所属联赛id */
    private Integer leagueId;
    /** 轮次 */
    private String turn;
    /** 比赛时间 */
    @DateTimeFormat(pattern = "yyyy年MM月dd日 hh时mm分")
    private Date matchDate;
    /** 主队id */
    private Integer hometeamId;
    /**主队名字**/
    private String homeTeam;
    /**客队名字**/
    private String guestTeam;
    /**联赛名称**/
    private String leagueName;
    
    /** 比赛结果 */
    private Integer result;
    public Integer getResult() {
		return result;
	}
	public void setResult(Integer result) {
		this.result = result;
	}
	public String getLeagueName() {
		return leagueName;
	}
	public void setLeagueName(String leagueName) {
		this.leagueName = leagueName;
	}
	public String getSeason() {
		return season;
	}
	public void setSeason(String season) {
		this.season = season;
	}
	/**赛季**/
    private String season;
    public String getHomeTeam() {
		return homeTeam;
	}
	public void setHomeTeam(String homeTeam) {
		this.homeTeam = homeTeam;
	}
	public String getGuestTeam() {
		return guestTeam;
	}
	public void setGuestTeam(String guestTeam) {
		this.guestTeam = guestTeam;
	}
	/** 客队id */
    private Integer guestteamId;
    public Integer getHometeamId() {
		return hometeamId;
	}
	public void setHometeamId(Integer hometeamId) {
		this.hometeamId = hometeamId;
	}
	public Integer getGuestteamId() {
		return guestteamId;
	}
	public void setGuestteamId(Integer guestteamId) {
		this.guestteamId = guestteamId;
	}
	/** 比分 */
    private String score;
    /** 主队排名 */
    private String hometeamRanking;
    /** 客队排名 */
    private String guestteamRanking;
    /**  */
    private Date createTime;
    /**  */
    private Date updateTime;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }
    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：球探比赛id
     */
    public void setTicketsId(Integer ticketsId) {
        this.ticketsId = ticketsId;
    }
    /**
     * 获取：球探比赛id
     */
    public Integer getTicketsId() {
        return ticketsId;
    }
    /**
     * 设置：所属联赛id
     */
    public void setLeagueId(Integer leagueId) {
        this.leagueId = leagueId;
    }
    /**
     * 获取：所属联赛id
     */
    public Integer getLeagueId() {
        return leagueId;
    }
    /**
     * 设置：轮次
     */
    public void setTurn(String turn) {
        this.turn = turn;
    }
    /**
     * 获取：轮次
     */
    public String getTurn() {
        return turn;
    }
    /**
     * 设置：比赛时间
     */
    public void setMatchDate(Date matchDate) {
        this.matchDate = matchDate;
    }
    /**
     * 获取：比赛时间
     */
    public Date getMatchDate() {
        return matchDate;
    }
    /**
     * 设置：比分
     */
    public void setScore(String score) {
        this.score = score;
    }
    /**
     * 获取：比分
     */
    public String getScore() {
        return score;
    }
   
    /**
     * 设置：主队排名
     */
    public void setHometeamRanking(String hometeamRanking) {
        this.hometeamRanking = hometeamRanking;
    }
    /**
     * 获取：主队排名
     */
    public String getHometeamRanking() {
        return hometeamRanking;
    }
    /**
     * 设置：客队排名
     */
    public void setGuestteamRanking(String guestteamRanking) {
        this.guestteamRanking = guestteamRanking;
    }
    /**
     * 获取：客队排名
     */
    public String getGuestteamRanking() {
        return guestteamRanking;
    }
    
    /**
     * 设置：
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    /**
     * 获取：
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * 设置：
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    /**
     * 获取：
     */
    public Date getUpdateTime() {
        return updateTime;
    }
}
